<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>popOver</title>
  <style>
    *{
      margin: 0;padding: 0;box-sizing: border-box;
    }
    :root{
        --font-size: 14px;
        --button-color: #999;
        --border-color: #999;
        --button-height: 32px;
        --button-bg: #fff;
        --button-active-bg: #eee;
        --button-active-border: pink;
        --border-radius: 4px;
        --color: #333;
        --border-color-active: #333;
      }
  </style>
</head>
<body>
  <div id="app">
    <g-popover position="top" trigger="hover">
      <template slot="content">
        真正的猛士,敢于面对惨淡的人生,敢于面对淋漓地鲜血.真正的猛士,敢于面对惨淡的人生,敢于面对淋漓地鲜血真正的猛士,敢于面对惨淡的人生,敢于面对淋漓地鲜血
      </template>
      <g-button icon="setting">按钮</g-button>
    </g-popover>
    <g-popover position="right">
      <template slot="content">
        我不想输,我真的不想输
      </template>
      <g-button>按钮</g-button>
    </g-popover>
    <g-popover position="bottom">
      <template slot="content">
        content
      </template>
      <g-button>按钮</g-button>
    </g-popover>
    <g-popover position="left">
      <template slot="content">
        content
      </template>
      <g-button>按钮</g-button>
    </g-popover>
    <div id="test"></div>

    <g-tabs :selected.sync="selecteTab">
      <g-tabs-head>
        <template slot="action">
          <button>设置</button>
        </template>
        <g-tabs-item name="nav1">导航111111111</g-tabs-item>
        <g-tabs-item name="nav2">导航2</g-tabs-item>
        <g-tabs-item name="nav3">导航3</g-tabs-item>
      </g-tabs-head>
      <g-tabs-body>
        <g-tabs-pane name="nav1">这是第一段文字</g-tabs-pane>
        <g-tabs-pane name="nav2">这是第二段文字</g-tabs-pane>
        <g-tabs-pane name="nav3">这是第三段文字</g-tabs-pane>
      </g-tabs-body>
    </g-tabs>

  </div>
  <script src="//at.alicdn.com/t/font_1467021_rwjyhtsyek.js"></script>
  <script src="./main.js"></script>
</body>
</html>